package com.shopowner.mapper;

import com.shopowner.entity.Shopowner;
import com.shopowner.entity.ShopownerExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface ShopownerMapper {
    long countByExample(ShopownerExample example);

    int deleteByExample(ShopownerExample example);

    int deleteByPrimaryKey(String sno);

    int insert(Shopowner record);

    int insertSelective(Shopowner record);

    String getMaxSno();

    List<Shopowner> getShopownerByPage(Map map);

    List<Shopowner> selectByStno(String stno);

    List<Shopowner> selectByExample(ShopownerExample example);

    Shopowner selectByPrimaryKey(String sno);

    int updateByExampleSelective(@Param("record") Shopowner record, @Param("example") ShopownerExample example);

    int updateByExample(@Param("record") Shopowner record, @Param("example") ShopownerExample example);

    int updateByPrimaryKeySelective(Shopowner record);

    int updateByPrimaryKey(Shopowner record);
}